Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Bloomery recipe & WitherForgeRecipe public #441

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

juraj-hrivnak
Copy link

@juraj-hrivnak juraj-hrivnak commented Jul 18, 2024

Hello,
I understand why these constructors are package-private since you should use the recipe builders.
Yet, the reason for making these constructors public is to provide compatibility for the GroovyScript mod to add these recipes using its recipe builders.
All the best, teksturepako

@CLAassistant
Copy link

CLAassistant commented Jul 18, 2024

CLA assistant check
All committers have signed the CLA.

@codetaylor
Copy link
Owner

I'm not entirely convinced this is the right solution for the problem. The builders assert certain conditions which are then assumed by the rest of the code. Exposing the constructors directly places the responsibility of those assertions into the user domain, which invalidates the assumptions.

Is there no way to use the provided builders with the GroovyScript mod?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants